﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.User
{
    public class UpdateUserCommand:IRequest<ApiResult<int>>
    {
        public long Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户性别
        /// </summary>
        public bool UserSex { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public long ProvinceId { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public long CityId { get; set; }
        /// <summary>
        /// 县
        /// </summary>
        public long CountyId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string AdderDetail { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public long? DeparmentId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? Updater { get; set; }
    }
}
